ci: Add Android 37 emulator to critical UI test matrix (JAVA-647)#5775
ci: Add Android 37 emulator to critical UI test matrix (JAVA-647)#5775runningcode wants to merge 1 commit into
Conversation
📲 Install BuildsAndroid
|
ba6feb7 to
f6da396
Compare
Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 5b1a06b | 352.27 ms | 413.70 ms | 61.43 ms |
| 2124a46 | 319.19 ms | 415.04 ms | 95.85 ms |
| ad8da22 | 314.52 ms | 352.47 ms | 37.95 ms |
| d15471f | 304.55 ms | 408.43 ms | 103.87 ms |
| 0ee65e9 | 317.37 ms | 366.50 ms | 49.13 ms |
| 2195398 | 351.77 ms | 433.22 ms | 81.45 ms |
| ee747ae | 358.21 ms | 389.41 ms | 31.20 ms |
| abfcc92 | 309.54 ms | 380.32 ms | 70.78 ms |
| 8558cac | 306.16 ms | 355.24 ms | 49.09 ms |
| d15471f | 310.26 ms | 377.04 ms | 66.78 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 5b1a06b | 0 B | 0 B | 0 B |
| 2124a46 | 1.58 MiB | 2.12 MiB | 551.51 KiB |
| ad8da22 | 1.58 MiB | 2.29 MiB | 719.83 KiB |
| d15471f | 1.58 MiB | 2.13 MiB | 559.54 KiB |
| 0ee65e9 | 0 B | 0 B | 0 B |
| 2195398 | 0 B | 0 B | 0 B |
| ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
| abfcc92 | 1.58 MiB | 2.13 MiB | 557.31 KiB |
| 8558cac | 0 B | 0 B | 0 B |
| d15471f | 1.58 MiB | 2.13 MiB | 559.54 KiB |
Previous results on branch: claude/android-37-ci-emulators-2d3528
Startup times
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 14354b8 | 322.69 ms | 387.90 ms | 65.21 ms |
| e9230fa | 316.91 ms | 365.65 ms | 48.74 ms |
| ce0e7f1 | 318.11 ms | 360.71 ms | 42.61 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 14354b8 | 0 B | 0 B | 0 B |
| e9230fa | 0 B | 0 B | 0 B |
| ce0e7f1 | 0 B | 0 B | 0 B |
9e9523d to
5fdaa59
Compare
Add an API level 37 (Android 17) emulator to the critical UI test matrix. API 37 ships only as a minor-versioned image, so the api-level is "37.0" (the platform and system image packages are android-37.0, not android-37) and only as google_apis_ps16k; there is no plain google_apis image. The runner's preinstalled avdmanager is too old to parse the minor version and writes target=android-0 into the AVD config, so the emulator clamps to API 3 and boots misconfigured. Update cmdline-tools before creating the AVD, and key the AVD cache on the tools version to invalidate broken caches. Workaround from ReactiveCircus/android-emulator-runner#482. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
5fdaa59 to
e89fc0c
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e89fc0c. Configure here.
| id: cmdline-tools | ||
| run: | | ||
| SDK="${ANDROID_HOME:-${ANDROID_SDK_ROOT:-/usr/local/lib/android/sdk}}" | ||
| yes | "$SDK/cmdline-tools/latest/bin/sdkmanager" --install "cmdline-tools;latest" > /dev/null |
There was a problem hiding this comment.
Pipefail breaks cmdline-tools update
High Severity
The new Update SDK cmdline-tools step runs yes | sdkmanager under GitHub Actions' default bash -eo pipefail. When sdkmanager finishes and closes the pipe, yes exits with a non-zero SIGPIPE status, so the pipeline fails and the step aborts before the latest-2 swap and AVD cache key output. That blocks every matrix row, including the previously green API 31/33/35/36 jobs.
Reviewed by Cursor Bugbot for commit e89fc0c. Configure here.
There was a problem hiding this comment.
uhmm but they're green so its working.


📜 Description
Add an API level 37 (Android 17) emulator to the critical UI integration test matrix.
This is possible with the workaround from ReactiveCircus/android-emulator-runner#482 (originally identified by jpcottin in yschimke/okhttp).
💡 Motivation and Context
Resolves JAVA-647. Keep CI emulator coverage current with the latest Android platform so the critical UI tests catch regressions on Android 17 alongside the existing API 31/33/35/36 runs.
💚 How did you test it?
CI — all matrix rows including API 37.0 pass on this PR.
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
🤖 Generated with Claude Code
#skip-changelog